package com.ruoyi.project.rest.member.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 会员对象 rest_member
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public class RestMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 会员编号 */
    @Excel(name = "会员编号")
    private String memberNo;

    /** 会员姓名 */
    @Excel(name = "会员姓名")
    private String memberName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 身份证 */
    @Excel(name = "身份证")
    private String memberId;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 家庭地址 */
    @Excel(name = "家庭地址")
    private String addr;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMemberNo(String memberNo)
    {
        this.memberNo = memberNo;
    }

    public String getMemberNo()
    {
        return memberNo;
    }
    public void setMemberName(String memberName)
    {
        this.memberName = memberName;
    }

    public String getMemberName()
    {
        return memberName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setMemberId(String memberId)
    {
        this.memberId = memberId;
    }

    public String getMemberId()
    {
        return memberId;
    }
    public void setSex(Integer sex)
    {
        this.sex = sex;
    }

    public Integer getSex()
    {
        return sex;
    }
    public void setAddr(String addr)
    {
        this.addr = addr;
    }

    public String getAddr()
    {
        return addr;
    }
    public void setBalance(BigDecimal balance)
    {
        this.balance = balance;
    }

    public BigDecimal getBalance()
    {
        return balance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberNo", getMemberNo())
            .append("memberName", getMemberName())
            .append("phone", getPhone())
            .append("memberId", getMemberId())
            .append("sex", getSex())
            .append("addr", getAddr())
            .append("balance", getBalance())
            .append("createTime", getCreateTime())
            .toString();
    }
}
